<div id="sidebar">
	<ul class="sideNav">
		<?php foreach (project::config('menu')->admin['sub'][$location_main] as $k=>$sub):?>
		<li><a href="<?php echo lib_admin::base($sub[1])?>" id="<?php echo $k?>"><?php echo $sub[0]?></a></li>
		<?php endforeach;?>
    </ul>
    <!-- // .sideNav -->
</div>  
<!-- // #sidebar -->